import { Component, OnInit, Input } from '@angular/core';
import { FormGroup } from '@angular/forms';

@Component({
  selector: 'app-base-form',
  templateUrl: './base-form.component.html',
  styleUrls: ['./base-form.component.css']
})
export class BaseFormComponent implements OnInit {
  @Input()
  configs!: any[];
  form: FormGroup | undefined;
  constructor() { }
  handleSubmit(e:any) {
    console.log(e,'eeeeeeee');
    
  }
  ngOnInit(): void {
    console.log(this.configs,'999999999999',this);
    
  }

}
